'use strict';

const Controller = require('egg').Controller;

class NewsController extends Controller {
  async delComment(ctx) {
    const { id, commentId } = ctx.params;
    ctx.body = {
      code: 0,
      data: {
        msg: `要删除的文章ID为${id} 评论ID为 ${commentId}`,
      },
    };
  }
}

module.exports = NewsController;
